package com.hoioy.findjob.jvm.clslr;

public class Main {
    public static void main(String[] args) throws Exception {
        MyClassLoader father = new MyClassLoader("F:/t/", "father");
        Class.forName("MyClass", true, father);

        MyClassLoader son = new MyClassLoader("F:/t/", "son", father);
        Class.forName("MyClass", true, son);

        MyClassLoader other = new MyClassLoader("F:/t/", "other");
        Class.forName("MyClass", true, other);

        son = null;
        other = null;
        System.gc();
        while (true) {
        }
    }
}
